<?php

	session_start();
	
	class Logof{

		public function sair(){
			/*if(isset($_SESSION['login']) || isset($_SESSION['senha']) || isset($_SESSION['perfil'])){
				session_unset();
				session_destroy();*/
	
				echo "<meta HTTP-EQUIV='Refresh' CONTENT='0;URL=index.php'>";
			/*}*/
		}
	}
	
	$logof = new Logof();
	echo $sair =  $logof->sair();
?>